#!/usr/bin/env bash

function git_clone() {
    workDir="$1"
    gitUrl="$2"
    echo cd ${workDir}
    cd ${workDir}
    echo git clone ${gitUrl}
    git clone ${gitUrl}
}

function wget_it() {
    workDir="$1"
    url="$2"
    echo cd ${workDir}
    cd ${workDir}
    echo wget ${url}
    wget ${url}
}

# git_clone "/home/tsingmicro/gits/github/AXERA-TECH" "https://github.com/AXERA-TECH/ax-llm-build.git"

wget_it "/home/tsingmicro/downloads" "http://pjreddie.com/media/files/VOCtrainval_11-May-2012.tar"
sleep 3600
wget_it "/home/tsingmicro/downloads" "http://pjreddie.com/media/files/VOC2012test.tar"
sleep 3600
wget_it "/home/tsingmicro/downloads" "http://pjreddie.com/media/files/VOCtrainval_06-Nov-2007.tar"
sleep 3600
wget_it "/home/tsingmicro/downloads" "http://pjreddie.com/media/files/VOCtest_06-Nov-2007.tar"
